Dynomotion

Group: DynoMotion Message: 4939 From: michaelthomasn Date: 5/15/2012
Subject: Set Bit as Output in Init
Im trying to wade my way through this c stuff by looking at others' examples.

I wanted to set particular bits as outputs and tell them what initial state to be in on init in kmotioncnc.

This is what I did: http://tech.groups.yahoo.com/group/DynoMotion/files/michaelthomas/

It seems to work.

Is this acceptable?

Are there other ways of doing it better?

I'm also unsure of how to "attach" something and am hoping my method worked.....lol.




Mike
Group: DynoMotion Message: 4940 From: Tom Kerekes Date: 5/15/2012
Subject: Re: Set Bit as Output in Init
Hi Michael,

That is the normal way to do it.

Regards
TK

Group: DynoMotion Message: 4942 From: michaelthomasn Date: 5/15/2012
Subject: Re: Set Bit as Output in Init
Thanks

--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Michael,
>
> That is the normal way to do it.
>
> Regards
> TK
>
>
>
> ________________________________
> From: michaelthomasn <michaelniksch@...>
> To: DynoMotion@yahoogroups.com
> Sent: Tuesday, May 15, 2012 7:23 AM
> Subject: [DynoMotion] Set Bit as Output in Init
>
>
>  
> Im trying to wade my way through this c stuff by looking at others' examples.
>
> I wanted to set particular bits as outputs and tell them what initial state to be in on init in kmotioncnc.
>
> This is what I did: http://tech.groups.yahoo.com/group/DynoMotion/files/michaelthomas/
>
> It seems to work.
>
> Is this acceptable?
>
> Are there other ways of doing it better?
>
> I'm also unsure of how to "attach" something and am hoping my method worked.....lol.
>
> Mike
>